//
//  ZYCAddPhotoPlaceHolderCell.m
//  ZDSC
//
//  Created by ZDTX on 2021/9/27.
//

#import "ZYCAddPhotoPlaceHolderCell.h"
@interface ZYCAddPhotoPlaceHolderCell ()

@property (nonatomic, strong) UIImageView *addImageView;
@end
@implementation ZYCAddPhotoPlaceHolderCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor grayColor];
        self.layer.cornerRadius = 5;
        self.layer.masksToBounds = YES;
        [self addSubview:self.addImageView];
        [self.addImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self);
        }];
    }
    return self;
}

- (UIImageView *)addImageView {
    if (!_addImageView) {
        _addImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"x"]];
    }
    return _addImageView;
}

@end
